package com.zjitc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.View;
import org.springframework.web.servlet.view.InternalResourceView;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/19 16:04
 * @description:
 */
@Controller
public class LocationControlle {
  @RequestMapping("/Location1")
  public View handler1(){
    View view =new InternalResourceView("/index.jsp");
    return view;
  }
  @RequestMapping("/Location2")
  public View handeler2(){
    View view =new InternalResourceView("/WEB-INF/index.jsp");
    return view;
  }

}
